<dl class="<?php echo $this->full_class ?>" id="<?php echo $this->id ?>">
	<dt><?php echo $this->title?></dt>
<?php
if(!empty($this->goods_list)){
	list($width, $height) = explode('x', $this->thumb);
	$no_picture = CommonHelper::get_thumb(NO_PICTURE, $this->thumb);
	foreach ($this->goods_list as $goods){
		if(isset($goods['main_picture']) && !empty($goods['main_picture']) && is_string($goods['main_picture'])){
			$main_picture = CommonHelper::get_thumb($goods['main_picture'], $this->thumb);
		}else{
			$main_picture = $no_picture;
		}
		$price = 0;
		if(isset($goods['price'])){
			$price = $goods['price'];
		}
?>
	<dd>
		<?php 
			echo CHtml::link(CHtml::image($main_picture, $goods['name']), GoodsModel::getUrl($goods), array('class'=>'img', 'style'=>"width:{$width}px;height:{$height}px;"));
		?>
		<?php echo $goods['name']?><br>
		￥<?php echo number_format($price, 2)?>
	</dd>
<?php 
	}
}
?>
</dl>
